package com.source.utils;

import org.springframework.core.env.Environment;

public class Util {
    public static void printSystemUpBanner(Environment environment) {
        System.out.println("\n----------------------------------------------------------\n" +
                "Application is running! Access URL \n" +
                "http://localhost:" + environment.getProperty("server.port") + "/doc.html" +
                "\n----------------------------------------------------------");
    }
}
